<template>
    <div>
        <HPopcomfirm title="你确定要删除吗？删除后不可恢复。" confirmButtonText="删除" cancelButtonText="取消" @confirm="handleConfirm"
            @cancel="handleCancel">
            <template #reference>
                <el-button type="danger">删除</el-button>
            </template>
            <template #actions>
                43123
            </template>
        </HPopcomfirm>
    </div>
</template>

<script setup lang="ts">
const handleConfirm = () => {
    console.log('确认删除');
};

const handleCancel = () => {
    console.log('取消删除');
};
</script>